package bancosys.tec.datadigester;

import java.io.InputStream;

/**
 * Implementação default da interface Digesterfile
 * @author lundberg
 *
 */
public class DefaultDigesterFile implements DigesterFile {

    private final String fileName;
    private final InputStream inputStream;
    
    /**
     * Construtor
     * @param fileName fileName
     * @param inputStream inputStream
     */
    public DefaultDigesterFile(String fileName, InputStream inputStream) {
        this.fileName = fileName;
        this.inputStream = inputStream;
    }

    /**
     * @return fileName
     */
    public String getFileName() {
        return this.fileName;
    }

    /**
     * @return inputStream
     */
    public InputStream getInputStream() {
        return this.inputStream;
    }
}
